package com.ruoyi.app.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.app.domain.AppGoods;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;


/**
 * APP商品评论视图对象 app_goods_comment
 *
 * @author heike
 * @date 2023-04-24
 */
@Data
@ExcelIgnoreUnannotated
public class AppGoodsCommentVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 商品ID
     */
    @ExcelProperty(value = "商品ID")
    private Long goodsId;


    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 点赞
     */
    @ExcelProperty(value = "点赞")
    private Integer star;

    /**
     * 评论内容
     */
    @ExcelProperty(value = "评论内容")
    private String descript;

    /**
     * 图片信息
     */
    @ExcelProperty(value = "图片信息")
    private String images;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 评论用户信息昵称
     */
    private String nickName;


    /**
     * 评论用户头像
     */
    private String avatar;

    /**
     * 商品信息
     */
    private AppGoodsVo goods;

    /**
     * 图片列表信息
     */
    private List<HashMap<String, Object>> imageList;
}
